import request from '@/utils/request'

/**
 * 获取文件夹树
 */
export function getFolderTree(params) {
  return request({
    url: '/third/thirdMaterialFolder/getFolderTree',
    method: 'get',
    params: params
  })
}

/**
 * 创建文件夹
 */
export function createFolder(data) {
  return request({
    url: '/third/thirdMaterialFolder/createFolder',
    method: 'post',
    data: data
  })
}
